﻿using System.ComponentModel;

namespace Marmat.Forms.Views
{
    namespace DataGrid
    {
        public class DataRowCancelEventArgs : CancelEventArgs
        {
            internal DataRowCancelEventArgs()
            {
            }

            /// <summary>
            /// 返回增加行的数据表。
            /// </summary>
            /// <value></value>
            /// <returns></returns>
            /// <remarks></remarks>
            public Forms.DataGrid DataGrid
            {
                get
                {
                    return this._DataGrid;
                }
            }

            internal Forms.DataGrid _DataGrid;

            /// <summary>
            /// 返回新增加的行。
            /// </summary>
            /// <value></value>
            /// <returns></returns>
            /// <remarks></remarks>
            public Row Row
            {
                get
                {
                    return this._Row;
                }
            }

            internal Row _Row;
        }
    }
}